/*********************************************************/
/*                                                       */
/* warlegue                                              */
/*                                                       */
/* button.h                                              */
/*                                                       */
/*********************************************************/
#ifndef __BUTTON_H__
#define __BUTTON_H__

/*********************************************************/
/* includes                                              */
/*********************************************************/
#include <SFML/Graphics.hpp>

/*********************************************************/
/* class CButton                                         */
/*********************************************************/

class CButton
{
public:
        CButton ();
        CButton (float, float, const char*, const char*);
        int Init (float, float, const char*, const char*);
        void CenterWidth (float);
        bool Checkcollision (float, float);
        sf::Sprite GetSprite ();
        void SetAlpha (int);

private:
        sf::Texture m_buttonTexture;
        sf::Texture m_buttonOverTexture;
        sf::Sprite m_buttonSprite;
        bool m_over;
}; /* end class CButton */

#endif
